package com.daxidi.cn.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author JiaLin
 * create 2020-11-17
 */
@ApiModel("扫码枪添加订单参数对象")
@Data
public class AddItemBillParam {
    /*@ApiModelProperty("店员Id")
    private Long clerkId;*/

    @ApiModelProperty("商家Id")
    private Long shopId;

    @ApiModelProperty("会员Id")
    private Long membeId;

    @ApiModelProperty("随机字符串")
    private String nonce;

    @ApiModelProperty("时间戳")
    private Date timestamp;

    @ApiModelProperty("商家折扣率")
    private double discount;

    @ApiModelProperty("加密字符串MD5")
    private String sign;

    @ApiModelProperty("订单支付完成之后的回调URL")
    private String callBack;

    @ApiModelProperty("订单号")
    private Long orderId;

    @ApiModelProperty("总价")
    private double total;

    @ApiModelProperty("优惠折扣后价格")
    private double discounted;
}
